package com.rentcars.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author 86186
 */
public class Clientuser {
    private String uid; //客户编号

    private String mobile; //客户手机

    private String clientpwd; //客户密码

    private String name; //客户姓名

    private String idcard; //身份证号

    private String drivernum; //驾驶证号

    private String companyid; //企业代码

    private Integer creditnum; //信用分值

    private String memlevel; //会员等级（级别编号）

    private Integer clientstate; //客户状态（1：正常，2：锁定）

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date addtime; //添加时间（默认系统时间）

    private String sex; //性别

    private Memberlevel memberlevel;

    private String levelname;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid == null ? null : uid.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getClientpwd() {
        return clientpwd;
    }

    public void setClientpwd(String clientpwd) {
        this.clientpwd = clientpwd == null ? null : clientpwd.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard == null ? null : idcard.trim();
    }

    public String getDrivernum() {
        return drivernum;
    }

    public void setDrivernum(String drivernum) {
        this.drivernum = drivernum == null ? null : drivernum.trim();
    }

    public String getCompanyid() {
        return companyid;
    }

    public void setCompanyid(String companyid) {
        this.companyid = companyid == null ? null : companyid.trim();
    }

    public Integer getCreditnum() {
        return creditnum;
    }

    public void setCreditnum(Integer creditnum) {
        this.creditnum = creditnum;
    }

    public String getMemlevel() {
        return memlevel;
    }

    public void setMemlevel(String memlevel) {
        this.memlevel = memlevel == null ? null : memlevel.trim();
    }

    public Integer getClientstate() {
        return clientstate;
    }

    public void setClientstate(Integer clientstate) {
        this.clientstate = clientstate;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Memberlevel getMemberlevel() {
        return memberlevel;
    }

    public void setMemberlevel(Memberlevel memberlevel) {
        this.memberlevel = memberlevel;
    }

    public String getLevelname() {
        return levelname;
    }

    public void setLevelname(String levelname) {
        this.levelname = levelname;
    }
}